import {SimplePagination} from "../../utils/util.tsx";

export type Data = {
    key: string;
    id: string,
    currentBalance: number,
    createTime: any,
    nickName: string, phoneNum: string,
    tags: string,
    headImg: string,
}

export type State = {
    data: Data[],
    states: { key: number, value: number, label: string }[],
    userNickname: string, // 当前选中的用户的昵称

    pagination: SimplePagination,
    loading: boolean,
    visible: boolean,
    tagAddModalVisible: boolean, id: string | null, originTags: Array<string>

    optionsOfCreateBy: { value: string }[],

    rechargeOrderModalVisible: boolean,
    rechargeOrderUserId: string | undefined, // 用户 ID
    rechargeOrderNickName: string | undefined, // 用户昵称

    tagOptions: { label: string; value: string }[]
};
